/* 
 * Copyright (c) 2013 TianYu Technologies, Inc. All rights reserved.   
 * 
 * This software is the confidential and proprietary information of   
 * TianYu Technologies. You shall not disclose such Confidential Information   
 * and shall use it only in accordance with the terms of the agreements   
 * you entered into with TianYu Technologies.   
 *   
 */
package com.code.pd.abstractfactory;


/**
 * FIXME 类注释信息(此标记自动生成,注释填写完成后请删除)
 * <pre>
 * 
 * [调用关系:
 * 实现接口及父类:
 * 子类:
 * 内部类列表:
 * ]
 * </pre>
 *
 * @author  李鹏
 * @since   1.0
 * @version 2013-11-4 李鹏
 */
public class Test {

	public static void main(String[] args) {
		CarFactory busFactory=new BusFactory();
		CarFactory benzFactory=new BenzFactory();
		Car bus=busFactory.createCar();
		Car benz=benzFactory.createCar();
		bus.start();
		benz.start();
	}
}
